Espressif Systems /ESP32-S2 /LEDC /CH2_CONF0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CH2_CONF0

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0TIMER_SEL 0 (SIG_OUT_EN)SIG_OUT_EN 0 (IDLE_LV)IDLE_LV 0 (PARA_UP)PARA_UP 0OVF_NUM0 (OVF_CNT_EN)OVF_CNT_EN 0 (OVF_CNT_RESET)OVF_CNT_RESET 0 (OVF_CNT_RESET_ST)OVF_CNT_RESET_ST

Description

Configuration register 0 for channel 2

Fields

TIMER_SEL

This field is used to select one of timers for channel %s.

0: select timer 0.

1: select timer 1.

2: select timer 2.

3: select timer 3.

SIG_OUT_EN

Set this bit to enable signal output on channel %s.

IDLE_LV

This bit is used to control the output value when channel %s is inactive.

PARA_UP

This bit is used to update register LEDC_CH%s_HPOINT and LEDC_CH%s_DUTY for channel %s.

OVF_NUM

This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times.

OVF_CNT_EN

This bit is used to enable the ovf_cnt of channel %s.

OVF_CNT_RESET

Set this bit to reset the ovf_cnt of channel %s.

OVF_CNT_RESET_ST

This is the status bit of LEDC_OVF_CNT_RESET_CH%s.

Links

() ()